package API.Collection.ImmutableCollection;

import java.util.Set;

public class SetExample {
    public static void main(String[] args) {
        Set<String> set = Set.of("Jack", "Nick", "Black", "Mike", "Alma");
        for (String s : set) {
            System.out.print(s + " ");
        }
        // 同Set
    }
}
